package liquidfs.data.fs;

import java.util.*;

import liquidfs.core.*;
import liquidfs.data.*;

public interface LiquidObject extends Comparable<LiquidObject> {
   
   public String getPath ();
   public String getName ();
   public String getParentPath ();
   public boolean exists ();
	public boolean isDirectory ();
	public LiquidDirectory asDirectory ();
	public LiquidFile asFile ();
	public long getSize ();
	public Metadata getMetadata();
	public Date getCreationDate ();
	public Date getModificationDate ();
	public Date getLastAccessedDate();
	public List<PeerDevice> getStorageDevices();
	public void refresh ();
}
